package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Category;

import java.util.List;

public interface CategoryServicce extends IService<Category> {
    public List<Category> getCategorylists(int pagecount,int pageSize);

    public Long selectcount();

    public Category selectcategorybyname(Category category);

    public void addCategory(Category category);

    public void deletecategory(Long ids);

    public void updatebyid(Category category);

    public List<Category> getCategoryList(int type);

    public Category selectbycategoryId(Long categoryId);

    public List<Category> selectall();
}
